package com.jrh.web;

import org.apache.oro.text.perl.Perl5Util;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Ok {
	@RequestMapping("/ok.htm")
	public String ok() {
		return "ok";
	}
	public static void main(String[] args) {
	    Perl5Util perl = new Perl5Util();
	    //boolean t=perl.match("/^(?!(noescape)).*/","noesca2pe2");
	    boolean t=perl.match("/^(?!(noescape)).*/","noesca2pe2");
	    System.out.println(t);
    }
}
